@charset 'utf-8';
@import  'sandal/core';
@import  'core/mixins', 'core/functions', 'core/vars';

$h3Bg: #8f9ed4;
$h3SpanBg: #6272ad;
$dukeMarginTop: 10px;
$deg: 30deg;

footer {
	background-color: rgba(255, 255, 255, .8);
}

.ht-duke {
	width: $w;
	margin: 0 auto;
	margin-top: 375px;
	
	& > section {
		margin-bottom: $dukeMarginTop;
		padding-bottom: $contentPaddingT;
		background-color: #fff;

		&:last-child {
			margin-bottom: 0;
		}

		&.ht-duke-section {
			position: relative;
			padding: 50px;
			padding-left: 350px;  
			background: $h3Bg;
			color: #fff;

			&:before {
				content: "";
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				right: 700px;
				background-color: $h3SpanBg;
			}

			& > h3 {
				position: absolute;
				top: 50%;
				left: 0;
				width: 300px;
				line-height: 50px;
				margin-top: -25px;
				background: none;

				&:before,&:after {
					content: "";
					position: absolute;
					top: 14px;
					left: 50px;
					width: 16px;
					height: 24px;
					background: url("../img/duke/arrow.png") no-repeat;
				}
				&:after {
					left: auto;
					right: 50px;
					transform: rotate(180deg);
					-ms-transform: rotate(180deg);
				}
			}

			& > p {
				line-height: 1.75;
			}
		}

		& > h3 {
			line-height: 50px;
			margin: 0 auto;
			text-align: center;
			background-color: $h3Bg;
			font-size: $fontH3;
			color: #fff;
		    overflow-y: hidden;

			& > span {
				position: relative;
				width: 225px;
				margin: 0 auto;
				background-color: $h3SpanBg;
				display: block;

				&:before, &:after {
					content: "";
					position: absolute;
					top: 0;
					left: 0;
					width: 40px;
					height: 100px;
					-ms-transform: rotate($deg);
					transform: rotate($deg);
					transform-origin: 0 0;
					background-color: $h3SpanBg;
				}
				&:after {
					top: 100%;
					left: 100%;
					-ms-transform: rotate($deg + 180deg);
					transform: rotate($deg + 180deg);
				}
			}
		}
	}
}

.ht-duke-info {
	position: relative;
	padding: 170px $contentPaddingL 50px;
	background: rgba(0, 0, 0, .5);
	text-align: center;
	color: #fff;

	&:before {
		content: "";
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		width: 116px;
		height: 74px;
		margin: 0 auto;
		background: url("../img/duke/duke.png") no-repeat;
	}

	& > h2 {
		position: relative;
		width: 11em;
		line-height: 1.5;
		margin: 0 auto;
		font-size: 40px;
		text-align: center;

		&:after {
			content: "";
			position: absolute;
			bottom: -18px;
			left: 0;
			right: 0;
			width: 10px;
			height: 10px;
			margin: 0 auto;
			background-color: #fff;
			border-radius: 10px;
		}
	}

	& > p {
		line-height: 1.75;
		font-size: 14px;
		text-align: center;
	}

	.ht-duke-info-first {
		margin-top: 30px;
	}
}

.ht-duker-rights {
	@extend %clearfix;
	margin: $contentPaddingT $contentPaddingL 0;

	& > li {
		float: left;
		width: 230px;
		height: 430px;
		margin-left: 55px;

		&:first-child {
			margin-left: 0;
		}
	}

	h5 {
		margin: 30px 0 20px;
		color: $colorBlack;
		font-size: $font18;
	}

	ul {
		list-style: initial;
  		padding-left: 20px;
  		line-height: 1.75;
	}
}